CVE-2022-50484
ALSA: usb-audio: Fix potential memory leaks
Description
In the Linux kernel, the following vulnerability has been resolved: ALSA: usb-audio: Fix potential memory leaks When the driver hits -ENOMEM at allocating a URB or a buffer, it aborts and goes to the error path that releases the all previously allocated resources. However, when -ENOMEM hits at the middle of the sync EP URB allocation loop, the partially allocated URBs might be left without released, because ep->nurbs is still zero at that point. Fix it by setting ep->nurbs at first, so that the error handler loops over the full URB list.
INFO
Published Date :
Oct. 4, 2025, 4:15 p.m.
Last Modified :
Oct. 6, 2025, 2:56 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Apply the provided kernel patch.
- Rebuild and install the updated kernel.
- Restart the system to apply changes.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-50484
.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-50484
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-50484
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-50484
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-50484
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 04, 2025
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: ALSA: usb-audio: Fix potential memory leaks When the driver hits -ENOMEM at allocating a URB or a buffer, it aborts and goes to the error path that releases the all previously allocated resources. However, when -ENOMEM hits at the middle of the sync EP URB allocation loop, the partially allocated URBs might be left without released, because ep->nurbs is still zero at that point. Fix it by setting ep->nurbs at first, so that the error handler loops over the full URB list. Added Reference https://git.kernel.org/stable/c/0604e5e5537af099ea2f6dfd892afe5c92db8a80 Added Reference https://git.kernel.org/stable/c/0672215994e2347a9b4f145e2bc1709b1e01cee3 Added Reference https://git.kernel.org/stable/c/28d8d267af5d73f91d7640cbdb4024703256e36c Added Reference https://git.kernel.org/stable/c/46f0aed47673e275d682af60ed26dcc28add8eae Added Reference https://git.kernel.org/stable/c/6382da0828995af87aa8b8bef28cc61aceb4aff3 Added Reference https://git.kernel.org/stable/c/988ec0cd0a2643c25c1658f7c33de2e15a5a2e31 Added Reference https://git.kernel.org/stable/c/bc1d16d282bca421c6fc31de4b8fd412010f01bd Added Reference https://git.kernel.org/stable/c/e4442410f76d66b9f7e854010bce04853f665324 Added Reference https://git.kernel.org/stable/c/faa8c1ed77d0169955b9b3516b714cc5fb512f27